<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>盒子被撑破的情况</title>
		<style>
			div{
				height: 140px;
				width: 100px;
				border: 2px solid red;
			}
			div:nth-child(1){
				/* overflow: hidden; */
				overflow: auto;
			}
		</style>
	</head>
	<body>
		<div>
			<img src="../image/img4.png"  />
		</div>
		<div style="border: 2px solid green;">
			教育改变生活
			<img src="../image/banner.png" width="90px"/>
		</div>
	</body>
</html>